﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.IO;
using Brain.Editor;

namespace Brain
{
    public interface ISerializator : IEngineManager
    {
        void Serialize(Stream stream, SerializationType type);

        void Deserialize(Stream stream, SerializationType type);

        EditorSceneData SceneData { get; set; }

        void SerializeUnique(Stream stream, SerializationType type, IBrainSerialiable serialiable);
        IBrainSerialiable DeserializeUnique(Stream stream, SerializationType type);
    }
}
